package com.day0906;

import java.util.Scanner;

public class Text7_task1 {
    public static void main(String[] args) {
        Scanner in = new Scanner(System.in);
        System.out.println("请输入本金：");
        int money = in.nextInt();
        System.out.println("本金为：" + money);
        System.out.println("存储一年的本息为：" + (money + money * 0.0225) + "元");
        System.out.println("存储两年的本息为：" + (money + money * 0.027 * 2) + "元");
        System.out.println("存储三年的本息为：" + (money + money * 0.0324 * 3) + "元");
        System.out.println("存储五年的本息为：" + (money + money * 0.036 * 5) + "元");
    }
}
